package cn.mily.basics.service;

import cn.mily.basics.query.BaseQuery;
import cn.mily.basics.utils.PageBean;


public interface IBasicService<T> {
    void add(T t);
    void update(T t);
    void delete(Long id);
    T findOne(Long id);
    PageBean<T> findAll(BaseQuery query);
    void patchDelete(Long[] ids);
}
